Woocommerce\Pagarme\Controller\Checkout S

Total Complexity 49
Dependencies 10
Dependents 0
Total lines 267
Lines of code 193
Logical lines of code 124
Comment lines 4
Methods 12
Properties 3

Methods 12

Method Rating Maintainability Complexity Lines of code
prepare_fields()
A
51 10 27
process_checkout_transparent()
S
47 6 36
validate_brands()
S
58 6 15
save_customer_card()
S
55 5 19
validate_amount_billet_and_card()
S
56 4 17
validate_amount_2_cards()
S
56 4 17
parse_cards()
S
63 4 10
build_installments()
S
61 3 12
__construct()
S
53 2 21
sanitize_field()
S
64 3 10
set_required_fields()
S
76 1 4
prepare_expiry_field()
S
70 1 5